<?php

class Core_Model_Module extends Database_Table_Row
{
	public function getId()
	{
		return $this -> name;
	}

	public function getTitle()
	{
		return $this -> title;
	}

	public function isActive()
	{
		return $this -> is_active;
	}

	public function getCurrentVersion()
	{
		return $this -> current_version;
	}

	public function getLatestVersion()
	{
		return $this -> latest_version;
	}

	public function getAuthor()
	{
		return $this -> author;
	}

	public function getDescription()
	{
		return $this -> description;
	}

	public function getType()
	{
		return $this -> type;
	}

	public function isLatestVersion()
	{
		return $this -> current_version == $this -> latest_version;
	}

}
